/* ========  GLOBAL STYLES  ======== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;500;600&display=swap");

/*custom properties*/
:root {
  /* fire engine red color */
  --fire-red: #e5173f;
  /* darkest color style */
  --dark-color: #272324;
  /*standard box shadow styling */
  --gray-shadow: 1px 1px 8px #d6d5d5;
  /*width for sidebar and spacing for content container */
  --dashboard-sizing: 21vw;
  --bs-btn-focus-shadow-rgb: #ffffff !important;
}

/* sitewide styles*/
* {
  box-sizing: unset !important;
}

/* sets link styles to default text styles */
a {
  text-decoration: none !important;
  color: inherit !important;
  font-family: Montserrat, sans-serif !important;
}

/* link color change on hover */
a:hover {
  color: var(--fire-red) !important;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
  font-family: Montserrat, sans-serif !important;
}

/* button styles */
.buttons {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: var(--fire-red);
  padding: 10px 20px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border: 0;
}

.alt-buttons {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  background-color: #3c3839;
  padding: 10px 20px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border: 0;
}

.special-button-1 {
  margin-top: 10px;
}

pre {
  display: inline-flex !important;
  margin-right: 10px;
  font-family: Montserrat, sans-serif !important;
}

/*icon styling*/
.icon-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.material-symbols-rounded {
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  padding: 5px;
}

.nav-icons {
  content: "e8b8";
  background-color: #ffffff;
  color: var(--dark-color);
  font-size: 32px;
  font-weight: bold;
  margin: 5px;
}

.menu-icon {
  content: "e5d2";
  color: var(--dark-color);
  z-index: 100;
  font-size: 32px !important;
}

.status-icon {
  width: 11px;
}

/* page styles for auth pages - login, logout etc */
.external-pg {
  background-color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #ffffff;
  height: 90vh;
}

.external-pg .form-group {
  margin-bottom: 40px;
}

.external-pg input[type="text"],
.external-pg input[type="password"] {
  background: transparent;
  box-shadow: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px white solid;
  width: 300px;
  padding: 10px;
  color: #ffffff;
  font-size: 18px;
}

.external-pg input::placeholder {
  font-size: 20px;
}

.external-pg h2 {
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.external-pg p {
  font-size: 22px;
  margin: 10px auto 50px auto;
}

/* ========  DASHBOARD NAVIGATION STYLES  ======== */

/*navigation container*/
nav {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

/*navigation panel*/
.primary-menu {
  background-color: transparent;
  width: var(--dashboard-sizing);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 2;
}

/*FOR MOBILE SLIDING MENU */
.slide-container {
  background-color: var(--dark-color);
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* logo sub class for logo flex container*/
.logos {
  margin-bottom: 5vh;
}

/* logo images*/
.logos img {
  max-width: 100px;
}

/* menu class for all ul elements in menu*/
.menu {
  list-style-type: none;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 15px;
  padding-left: 20px;
}

.menu a {
  font-size: 15px;
}

/* main list elements in Navigation*/
.menu li {
  padding-bottom: 5px;
}

/*submenu ul's/menus*/
.submenu {
  padding-left: 20px;
  font-weight: 200;
}

/*submenu list elements*/
.submenu > li {
  font-size: 15px;
  font-weight: 400;
}

/*availability button*/
.update-availability {
  margin-top: 15px;
}

/*secondary menu bar across top of page*/
.secondary-menu {
  position: fixed;
  height: 50px;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  padding: 5px 20px;
  box-shadow: var(--gray-shadow);
  text-align: right;
  justify-content: flex-end;
  background-color: #ffffff;
}

/*username at top*/
.secondary-menu p {
  margin: 0 10px 0;
  font-weight: 600;
}

#mobile-logo {
  display: none;
  justify-content: left;
}

/*========== DASHBOARD CONTENT AREA ============== */
.main-dash-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-evenly;
}

.dash-content-container {
  position: relative;
  left: var(--dashboard-sizing);
  overflow: hidden;
  width: calc(100vw - var(--dashboard-sizing) - 20px);
  padding-top: 3%;
  z-index: 0;
  margin-bottom: 40px;
}

.dash-content-container h2 {
  font-size: 30px !important;
  margin-top: 30px;
  margin-left: 10px;
  font-weight: bold;
  line-height: unset;
}

.dash-content-container h3 {
  margin: 0;
  padding: 10px 10px 8px 10px;
  border-radius: 7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;
  -moz-border-radius: 7px 7px 0 0;
  -ms-border-radius: 7px 7px 0 0;
  -o-border-radius: 7px 7px 0 0;
  width: 200px;
  background-color: #ffffff;
  box-shadow: var(--gray-shadow);
  font-size: 20px !important;
  font-weight: inherit;
  line-height: unset;
}

.dashboard-content-block {
  background-color: #efefff;
  box-shadow: var(--gray-shadow);
  padding: 10px;
}

/*container on dashboard that contains the calendar*/
.dcb-1 {
  width: 60%;
}

.ui-rtsr-unselected {
  background-color: var(--fire-red);
}

/*container on dashboard that contains the current availability status*/
.dcb-2 {
  width: 35%;
}

/*weather widget */
.weatherwidget-io {
  margin-bottom: 15px;
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  box-shadow: var(--gray-shadow);
}

/*availability table formatting*/
#availTable {
  border-top: 5px solid var(--fire-red);
  background-color: #ffffff;
  width: 100%;
}

#availTable th {
  color: var(--fire-red);
  font-weight: 500;
}

#availTable th:nth-of-type(2),
#availTable th:nth-of-type(3) {
  text-align: center;
}

.unit-num {
  font-size: 14px;
  margin-right: 10px;
}

#availTable td {
  border-top: 1px solid #d6d5d5;
}

#availTable tr td:nth-of-type(1) {
  width: 45%;
}

#availTable tr td:nth-of-type(2),
#availTable tr td:nth-of-type(3) {
  text-align: center;
}

/* ===================== User Settings Page Styles ================== */
.form-row .col {
  padding-right: 0px;
  justify-content: flex-start !important;
  margin-bottom: 5px;
}

/*footer styling*/
footer {
  height: 50px;
  background-color: var(--dark-color);
  position: relative;
  bottom: 0;
  width: 100%;
}

footer a {
  color: #efefef !important;
  font-size: 14px;
  text-align: center;
}

footer a:hover {
  color: var(--fire-red) !important;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-contents {
  background-color: #fff;
  position: relative;
  display: grid;
  flex-direction: unset;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.delete-button {
  background-color: red;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width:20%;
  margin-top: 10px;
  cursor: pointer;
}

.close-button {
  background-color: gainsboro;
  color: black;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width:20%;
  margin-top: 10px;
  cursor: pointer;
}

footer p {
  margin-left: var(--dashboard-sizing);
  text-align: center;
  color: #efefef !important;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 15px;
}

.mb-3 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.print-only {
  visibility: hidden;
}

/* ========  MEDIA QUERIES  ======== */

@media screen and (max-width: 1111px) {
  .primary-menu {
    width: 300px;
    height: 450px;
    top: 60px;
    left: -300px;
    transform: translateX(-300px);
    -webkit-transform: translateX(-300px);
    -moz-transform: translateX(-300px);
    -ms-transform: translateX(-300px);
    -o-transform: translateX(-300px);
    transition: transform 300ms ease-in-out;
    -webkit-transition: transform 300ms ease-in-out;
    -moz-transition: transform 300ms ease-in-out;
    -ms-transition: transform 300ms ease-in-out;
    -o-transition: transform 300ms ease-in-out;
  }

  .slide-container {
    height: 450px;
    padding-top: 70px;
  }

  .primary-menu .flex-container {
    justify-content: center;
  }

  .logos {
    display: none;
  }

  #mobile-logo {
    display: flex;
    margin-left: 30px;
    height: 50px;
    width: auto;
  }

  .flip {
    transition: transform 0.5s linear;
    transform: rotateY(360deg);
    -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -ms-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    -webkit-transition: transform 0.5s linear;
    -moz-transition: transform 0.5s linear;
    -ms-transition: transform 0.5s linear;
    -o-transition: transform 0.5s linear;
  }

  .show-menu {
    box-shadow: 5px 5px 8px rgba(4, 4, 4, 0.35);
    display: inline-flex !important;
    z-index: 2;
    transform: translateX(300px);
    -webkit-transform: translateX(300px);
    -moz-transform: translateX(300px);
    -ms-transform: translateX(300px);
    -o-transform: translateX(300px);
    transition: transform 300ms ease-in-out;
    -webkit-transition: transform 300ms ease-in-out;
    -moz-transition: transform 300ms ease-in-out;
    -ms-transition: transform 300ms ease-in-out;
    -o-transition: transform 300ms ease-in-out;
  }

  .primary-menu .icon-container {
    justify-content: center;
  }

  .secondary-menu {
    justify-content: space-between;
    z-index: 2;
  }

  nav {
    height: 330px;
    width: 300px;
  }

  .dash-content-container {
    width: 100%;
    left: unset;
    padding-top: 50px;
    z-index: 1;
  }

  footer p {
    text-align: center;
    margin-left: 0;
  }
}

@media screen and (max-width: 900px) {
  .main-dash-wrapper {
    flex-wrap: wrap-reverse;
  }

  .dcb-1,
  .dcb-2 {
    width: 100%;
  }

  .dcb-2 {
    margin-bottom: 30px;
  }

  #availTable {
    width: 55%;
  }

  .update-availability {
    float: right;
    margin-top: -160px;
    margin-right: 5%;
  }
}

@media screen and (max-width: 720px) {
  .update-availability {
    float: none;
    margin-top: 20px;
    margin-right: auto;
    margin-left: auto;
    width: 92%;
  }

  #availTable {
    width: 100%;
  }

  .main-dash-wrapper {
    justify-content: center;
  }

  #availTable tr {
    font-size: 14px;
  }

  .unit-num {
    font-size: 12px;
  }

  .dcb-1 iframe {
    width: 100%;
    height: 420px;
  }
}

@media print {
  .secondary-menu {
    display: none;
    visibility: hidden;
  }

  .dash-content-container {
    width: 100%;
    left: 0;
    padding-top: 0px !important;
    top: 0;
  }

  .dash-content-container h2 {
    padding-top: 0px;
  }

  .report-container-alt {
    padding: 0px 10px;
  }

  .hide-print {
    display: none !important;
  }

  .print-only {
    visibility: unset;
    text-align: center;
  }

  footer {
    display: none;
  }
}
